package com.weishenai.customerassistant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishenai.customerassistant.entity.PublishingTask;
import org.apache.ibatis.annotations.Update;

public interface PublishingTaskMapper extends BaseMapper<PublishingTask>  {
    @Update("UPDATE publishing_task SET state = '${state}' WHERE wx_id = '${wechatId}' AND id = '${id}'")
    int updateStateByWechatId(String wechatId,String state,Long id);
}
